package com.hr.service;


import com.hr.entity.LoginUser;
import com.hr.mapper.LoginMapper;
import org.apache.commons.lang3.ObjectUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @ClassName LoginServiceImpl
 * @Description TODO
 * @Author hkp
 **/

@Service
public class LoginServiceImpl implements LoginService{

    @Resource
    LoginMapper loginMapper;

    @Override
    public LoginUser login(String username, String uPassword, String uPosition) {
        return loginMapper.login(username,uPassword,uPosition);
    }
}
